package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.query.SearchQueryObject;
import cn.wolfcode.luowowo.search.template.StrategyTemplate;
import cn.wolfcode.luowowo.search.vo.StatsResult;

import java.util.List;
import java.util.Map;

public interface IStrategySearchService {
    void save(StrategyTemplate template);

    List<StatsResult> listCondition(int condition);

    Object query(SearchQueryObject qo);

    /**
     * 根据主题分组,查询前10
     * @return
     */
    List<Map<String,Object>> listThemeTop10();

    List<StrategyTemplate> listByDestName(String keyword);
}
